package cn.ccew.common.base.controller;

import javax.servlet.http.HttpServletRequest;

public class MyMultipartResolver extends org.springframework.web.multipart.commons.CommonsMultipartResolver {

	@Override
	public boolean isMultipart(HttpServletRequest request) {
		if (request.getRequestURI().equals("/zacms/admin/uploadImg")) {
			return false;
		} else {
			return super.isMultipart(request);
		}
	}

}